<template>
  <div
    class="rawMaterial"
    style=" display: flex;
    flex-direction: column;!important"
    id="tableInfoBox"
  >
    <FormLyout @yj_saveForm="yj_saveForm" :isSave="btnShow">
      <template v-slot:formcon>
        <div style="overflow-y: auto; margin-bottom: 20px">
          <div class="baseTitle">基本信息</div>
          <div style="height: 170px; margin-top: 15px">
            <publicForm
              ref="publicForm"
              lableWidth="115px"
              :formObj="basicFormObj"
              :formData="basicFormData"
              :selected="[]"
            >
            </publicForm>
          </div>
          <!-- <div class="baseTitle" v-show="handNum">处理情况</div> -->
          <div class="baseTitle">处理情况</div>
          <el-collapse v-model="activeNames" @change="changeCollapse">
            <!-- <el-collapse-item name="0" v-show="handNum"> -->
            <el-collapse-item name="0">
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">闭合申请单</span>
                </div>
              </template>
              <div style="height: 150px; margin-top: 3px">
                <publicForm
                  ref="publicForm0"
                  lableWidth="115px"
                  :selected="[]"
                  :formObj="closeFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fHandlefile"
                  :fileList="closeFileurllist"
                  @delteFile="delteFile($event, 0)"
                >
                </publicForm>
              </div>
            </el-collapse-item>

            <!-- <el-collapse-item name="1" v-show="firstNum"> -->
            <el-collapse-item name="1">
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">一级审核</span>
                </div>
              </template>
              <div style="height: 150px; margin-top: 3px">
                <publicForm
                  ref="publicForm1"
                  lableWidth="115px"
                  :selected="[]"
                  :formObj="FauditFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fFirstcheckfile"
                  :fileList="FauditFileurllist"
                  @delteFile="delteFile($event, 1)"
                >
                </publicForm>
              </div>
            </el-collapse-item>
            <!-- <el-collapse-item name="2" v-show="secondNum"> -->
            <el-collapse-item name="2">
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">二级审核</span>
                </div>
              </template>
              <div style="height: 140px; margin-top: 3px">
                <publicForm
                  ref="publicForm2"
                  lableWidth="115px"
                  :selected="[]"
                  :formObj="SauditFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fSecondcheckfile"
                  :fileList="SauditFileurllist"
                  @delteFile="delteFile($event, 2)"
                >
                </publicForm>
              </div>
            </el-collapse-item>
          </el-collapse>
          <div style="height: 50px"></div>
        </div>
      </template>
    </FormLyout>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
